package com.lcm.basic.p7.collection;

import java.util.ArrayList;
import java.util.Collection;

/**
 * @author Coder-lcm
 * @date 2021/4/3
 */
public class CollectionDemo {
    public static void main(String[] args) {
        Collection collection = new ArrayList();
        collection.add("sasdadasd");
        collection.add(131);
        collection.add(13131L);
        collection.remove(131);
        System.out.println(collection.size());
        System.out.println(collection.contains(13131L));
    }
}
